﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.CodeDom.Compiler;

namespace MM.Common.Base
{
    [ServiceContract(Namespace = "http://www.tomtawsoft.com/reportservice", ConfigurationName = "MM.Common.Base.IQueryReport"), GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public interface IQueryReport
    {
        // Methods
        [OperationContract(Action = "http://www.tomtawsoft.com/reportservice/IQueryReport/GetRegisterCode", ReplyAction = "http://www.tomtawsoft.com/reportservice/IQueryReport/GetRegisterCodeResponse")]
        string GetRegisterCode(string mac, ref string error);
        [OperationContract(Action = "http://www.tomtawsoft.com/reportservice/IQueryReport/GetReportInfo", ReplyAction = "http://www.tomtawsoft.com/reportservice/IQueryReport/GetReportInfoResponse")]
        string GetReportInfo(string filename, ref string[] parmname, ref string[] dsname, ref string[] dsquery, ref string[] codemodule, ref string error);
        [OperationContract(Action = "http://www.tomtawsoft.com/reportservice/IQueryReport/GetXtraReportInfo", ReplyAction = "http://www.tomtawsoft.com/reportservice/IQueryReport/GetXtraReportInfoResponse")]
        string GetXtraReportInfo(string filename, ref string error);
        [OperationContract(Action = "http://www.tomtawsoft.com/reportservice/IQueryReport/Retrieve", ReplyAction = "http://www.tomtawsoft.com/reportservice/IQueryReport/RetrieveResponse")]
        string Retrieve(string rcode, string mac, string report_code, string dataset, string query, string[] parm_value, string[] parm_type, ref string error);
    }
}